Skip to content

fix(hydra): use compact IRI for owl:onProperty and Collection @id in DocumentationNormalizer#7849

Merged
soyuka merged 1 commit intoapi-platform:4.2from
soyuka:fix/hydra-owl
Mar 20, 2026
Merged

fix(hydra): use compact IRI for owl:onProperty and Collection @id in DocumentationNormalizer#7849
soyuka merged 1 commit intoapi-platform:4.2from
soyuka:fix/hydra-owl

Conversation

@soyuka
Copy link
Member

@soyuka soyuka commented Mar 17, 2026

Q A
Branch? 4.2
Tickets api-platform/demo#594
License MIT
Doc PR

When hydra_prefix is false (default since 4.x), $hydraPrefix concatenation produces bare terms ("member", "Collection") that JSON-LD expands as relative IRIs instead of Hydra namespace IRIs, breaking api-doc-parser.

…DocumentationNormalizer

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Tickets       | api-platform/demo#594
| License       | MIT
| Doc PR        | ∅

When hydra_prefix is false (default since 4.x), $hydraPrefix concatenation
produces bare terms ("member", "Collection") that JSON-LD expands as relative
IRIs instead of Hydra namespace IRIs, breaking api-doc-parser.
@soyuka soyuka merged commit c7ababf into api-platform:4.2 Mar 20, 2026
147 of 150 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant